# Add files and directories to ship with the application 
# by adapting the examples below.
# file1.source = myfile
# dir1.source = mydir
DEPLOYMENTFOLDERS = # file1 dir1

CONFIG += no_icon debug inapppurchase

TEMPLATE = app
TARGET = QIAPServer

# Smart Installer package's UID
# This UID is from the protected range 
# and therefore the package will fail to install if self-signed
# By default qmake uses the unprotected range value if unprotected UID is defined for the application
# and 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF

# If your application uses the Qt Mobility libraries, uncomment
# the following lines and add the respective components to the 
# MOBILITY variable. 
# CONFIG += mobility
# MOBILITY +=

SOURCES += main.cpp mainwindow.cpp \
    iapserver.cpp \
    iapsession.cpp \
    iapclientadapter.cpp \
    CGainFocusEventObserver.cpp

HEADERS += mainwindow.h \
    iapserver.h \
    iapsession.h \
    clientservercommon.h \
    iapclientadapter.h \
    CGainFocusEventObserver.h

LIBS += -leikcore -lcone -lapparc -lapgrfx -lws32

# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()

symbian: {
    TARGET.UID3 = 0x2005E5EA
    # Allow network access on Symbian
    TARGET.CAPABILITY += NetworkServices

    # IAP configuration
    addConfigFiles.sources = ./IAP_VARIANTID.txt
    addConfigFiles.path = .
    DEPLOYMENT += addConfigFiles

    # component dependecy
    apibridge_dep.pkg_postrules = "@\"..\code\sis\APIBridge_v1_1.sis\", (0x2002373F)"
    wrtenabler_dep.pkg_postrules = "@\"..\IAP_WRT_sample_installer\sis\IAP_WRT_sample_installer.sisx\", (0x2005E5EB)"
    DEPLOYMENT += wrtenabler_dep apibridge_dep
}








